﻿<Window x:Class="CCSManager.Main"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:DeveloperRegistration="clr-namespace:CCSManager"
    Title="Developer Registration and Product Management" Height="510" Width="640" MinHeight="550" MinWidth="460">
    <Grid>
        <DeveloperRegistration:Products Visibility="Hidden" Height="Auto" x:Name="ProductsControl" Width="Auto" ProductSelected="ProductsControl_ProductSelected"></DeveloperRegistration:Products>
        <DeveloperRegistration:Product Visibility="Hidden" Height="Auto" Width="Auto" x:Name="ProductControl" ProductUpdateRequested="ProductControl_ProductUpdateRequested" EditCancelled="ProductControl_EditCancelled" ProductDeleteRequested="ProductControl_ProductDeleteRequested"></DeveloperRegistration:Product>
        <TabControl Margin="0" Name="AuthTabs">
            <TabItem Header="Log In" Name="loginTabItem">
                <Grid>
                    <Label x:Name="RegistrationCompleteMessage" HorizontalContentAlignment="Center" VerticalAlignment="Center" Margin="0,-350,0,0" Foreground="Green" FontWeight="Bold" Visibility="Hidden">Registration completed successfully! Please log in below.</Label>
                    <DeveloperRegistration:Login x:Name="LoginControl" Height="Auto" Width="Auto" LoggedIn="LoginControl_LoggedIn"></DeveloperRegistration:Login>
                </Grid>
            </TabItem>
            <TabItem Header="Register" Name="registerTabItem">
                <Grid>
                    <DeveloperRegistration:Register x:Name="RegisterControl" Height="Auto" Width="Auto" Registered="RegisterControl_Registered"></DeveloperRegistration:Register>
                </Grid>
            </TabItem>
        </TabControl>
    </Grid>
</Window>
